package com.job.netease;

import java.util.Scanner;

/**
 * @ClassName: test.Netease2_4
 * @Description:
 * @Author: 12071
 * @Date: 2022/4/21 19:57
 */
public class Netease2_4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int h = sc.nextInt();
        int[][][] square = new int[n+1][m+1][h+1]; // 0为白色
        int k = sc.nextInt();
        int a=0,b=0,c=0;
        for (int i = 0; i < k; i++) {
            a = sc.nextInt();
            b = sc.nextInt();
            c = sc.nextInt();
            square[a][b][c] =1;

        }
    }
}
